home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x32.msi / Data1.cab / _30615FF365614CE89477959C72824914 < prev    next >
Extensible Markup Language  |  2008-06-28  |  7KB  |  192 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  4.     <xsl:output 
  5.           method="html" 
  6.           version="4.0" 
  7.           encoding="UTF-8" 
  8.           omit-xml-declaration="yes" 
  9.           indent="yes"/>
  10.           
  11.     <xsl:template match="/">
  12.         <html>
  13.             <body>
  14.             <table border="0" width="100%">
  15.           <tr>
  16.             <td colspan="3">
  17.               <h3>QT_TRANSLATE_NOOP("QObject", "Volume") <xsl:value-of select="Root/Report/VolumeInfo/Label"/> <xsl:value-of select="Root/Report/VolumeInfo/Drive"/></h3>
  18.             </td>
  19.                 </tr>
  20.           <tr>
  21.             <td colspan="3">
  22.               <img src="hline_gray.png"/>
  23.             </td>
  24.                 </tr>
  25.               <tr>
  26.                     <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "Volume Size:")</nobr></b></td>
  27.                     <td><nobr><xsl:value-of select="Root/Report/VolumeInfo/VolumeSize"/></nobr></td>
  28.             <td width="100%"/>
  29.                 </tr>
  30.               <tr>
  31.                     <td align="right"><b>QT_TRANSLATE_NOOP("QObject", "Cluster size:")</b></td>
  32.                     <td><xsl:value-of select="Root/Report/VolumeInfo/ClusterSize"/></td>
  33.             <td width="100%"/>
  34.                 </tr>
  35.               <tr>
  36.                     <td align="right"><b>QT_TRANSLATE_NOOP("QObject", "Free Space:")</b></td>
  37.                     <td><xsl:value-of select="Root/Report/VolumeInfo/FreeSpace"/></td>
  38.             <td width="100%"/>
  39.                 </tr>
  40.               <tr>
  41.                     <td align="right"><b>QT_TRANSLATE_NOOP("QObject", "Used Space:")</b></td>
  42.                     <td><xsl:value-of select="Root/Report/VolumeInfo/UsedSpace"/></td>
  43.             <td width="100%"/>
  44.                 </tr>
  45.         </table>
  46.  
  47.         <table border="0" width="100%">
  48.           <tr>
  49.             <td colspan="3">
  50.               <br/><h3>QT_TRANSLATE_NOOP("QObject", "Free space fragmentation")</h3>
  51.             </td>
  52.                 </tr>
  53.           <tr>
  54.             <td colspan="3">
  55.               <img src="hline_gray.png"/>
  56.             </td>
  57.                 </tr>
  58.           <xsl:choose>
  59.             <xsl:when test="number(Root/Report/VolumeInfo/FreeSpaceInBytes) = 0">
  60.               <tr>
  61.                 <td colspan="3">QT_TRANSLATE_NOOP("QObject", "There is no free space on this volume.")</td>
  62.               </tr>
  63.             </xsl:when>
  64.             <xsl:otherwise>
  65.               <tr>
  66.                 <td align="right"><nobr><b>QT_TRANSLATE_NOOP("QObject", "Total Fragments:")</b></nobr></td>
  67.                 <td><nobr><xsl:value-of select="Root/Report/VolumeInfo/FragFreeSpace"/></nobr></td>
  68.                 <td width="100%"/>
  69.               </tr>
  70.               
  71.               <tr>
  72.                 <td align="right"><nobr><b>QT_TRANSLATE_NOOP("QObject", "Fragmentation:")</b></nobr></td>
  73.                 <td><nobr><xsl:value-of select="Root/Report/VolumeInfo/FreeSpaceFragmentation"/>%</nobr></td>
  74.                 <td width="100%"/>
  75.               </tr>
  76.               
  77.             </xsl:otherwise>
  78.           </xsl:choose>
  79.         </table>
  80.         
  81.             <table border="0" width="100%">
  82.           <tr>
  83.             <td colspan="3">
  84.               <br/><h3>QT_TRANSLATE_NOOP("QObject", "Bad clusters fragmentation")</h3>
  85.             </td>
  86.                 </tr>
  87.           <tr>
  88.             <td colspan="3">
  89.               <img src="hline_gray.png"/>
  90.             </td>
  91.                 </tr>
  92.           <xsl:choose>
  93.             <xsl:when test="number(Root/Report/VolumeInfo/BadSpaceInBytes) = 0">
  94.               <tr>
  95.                 <td colspan="3">QT_TRANSLATE_NOOP("QObject", "No bad blocks found.")</td>
  96.               </tr>
  97.             </xsl:when>
  98.             <xsl:otherwise>
  99.               <tr>
  100.                 <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "Fragments Size:")</nobr></b></td>
  101.                 <td><nobr><xsl:value-of select="Root/Report/VolumeInfo/BadSpace"/></nobr></td>
  102.                 <td width="100%"/>
  103.               </tr>
  104.               <tr>
  105.                 <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "Total Fragments:")</nobr></b></td>
  106.                 <td><nobr><xsl:value-of select="Root/Report/VolumeInfo/BadSpaceFragments"/></nobr></td>
  107.                 <td width="100%"/>
  108.               </tr>
  109.             </xsl:otherwise>
  110.           </xsl:choose>
  111.         </table>
  112.  
  113.             <table border="0" width="100%">
  114.           <tr>
  115.             <td colspan="3">
  116.               <br/><h3>QT_TRANSLATE_NOOP("QObject", "Files fragmentation")</h3>
  117.             </td>
  118.                 </tr>
  119.           <tr>
  120.             <td colspan="3">
  121.               <img src="hline_gray.png"/>
  122.             </td>
  123.                 </tr>
  124.               <tr>
  125.                     <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "Total Files:")</nobr></b></td>
  126.                     <td><nobr><xsl:value-of select="Root/Report/FilesInfo/FilesTotal"/></nobr></td>
  127.             <td width="100%"/>
  128.                 </tr>
  129.               <tr>
  130.                     <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "Fragmented Files:")</nobr></b></td>
  131.                     <td><nobr><xsl:value-of select="Root/Report/FilesInfo/FilesFragmented"/></nobr></td>
  132.             <td width="100%"/>
  133.                 </tr>
  134.         </table>
  135.  
  136.             <table border="0" width="100%">
  137.           <tr>
  138.             <td colspan="3">
  139.               <br/><h3>QT_TRANSLATE_NOOP("QObject", "Folders fragmentation")</h3>
  140.             </td>
  141.                 </tr>
  142.           <tr>
  143.             <td colspan="3">
  144.               <img src="hline_gray.png"/>
  145.             </td>
  146.                 </tr>
  147.               <tr>
  148.                     <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "Total Folders:")</nobr></b></td>
  149.                     <td><nobr><xsl:value-of select="Root/Report/FilesInfo/FoldersTotal"/></nobr></td>
  150.             <td width="100%"/>
  151.                 </tr>
  152.               <tr>
  153.                     <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "Fragmented Folders:")</nobr></b></td>
  154.                     <td><nobr><xsl:value-of select="Root/Report/FilesInfo/FoldersFragmented"/></nobr></td>
  155.             <td width="100%"/>
  156.                 </tr>
  157.         </table>
  158.  
  159.               <xsl:if test="number(Root/Report/MFTInfo/UsedMFTRecords) != 0">
  160.           <table border="0" width="100%">
  161.           <tr>
  162.             <td colspan="3">
  163.               <br/><h3>QT_TRANSLATE_NOOP("QObject", "MFT fragmentation")</h3>
  164.             </td>
  165.                 </tr>
  166.           <tr>
  167.             <td colspan="3">
  168.               <img src="hline_gray.png"/>
  169.             </td>
  170.                 </tr>
  171.             <tr>
  172.               <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "Total MFT Size:")</nobr></b></td>
  173.               <td><nobr><xsl:value-of select="Root/Report/MFTInfo/MFTSize"/></nobr></td>
  174.               <td width="100%"/>
  175.             </tr>
  176.             <tr>
  177.               <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "MFT Records in Use:")</nobr></b></td>
  178.               <td><nobr><xsl:value-of select="Root/Report/MFTInfo/UsedMFTRecords"/></nobr></td>
  179.               <td width="100%"/>
  180.             </tr>
  181.             <tr>
  182.               <td align="right"><b><nobr>QT_TRANSLATE_NOOP("QObject", "MFT Fragments:")</nobr></b></td>
  183.               <td><nobr><xsl:value-of select="Root/Report/MFTInfo/MFTFragments"/></nobr></td>
  184.               <td width="100%"/>
  185.             </tr>
  186.           </table>
  187.         </xsl:if>
  188.             </body>
  189.         </html>
  190.     </xsl:template>
  191. </xsl:stylesheet>
  192.